package lt.marsrutai.mobile.android.bundle;

import android.os.Bundle;

public class BundleHolder {

    private Bundle bundle;

    public BundleHolder() {
        this.bundle = new Bundle();
    }

    public BundleHolder(Bundle bundle) {
        this.bundle = bundle;
    }

    public Bundle getBundle() {
        return bundle;
    }

    protected void setStringValue(String key, String value) {
        bundle.putString(key, value);
    }

    protected String getStringValue(String key) {
        return bundle.getString(key);
    }
}
